package haoyc.entity;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;

/**
 * @author Memory
 * @version 1.0
 * @date 2021/12/2
 */

@Data
@AllArgsConstructor
public class SimpleMouseEvent implements Serializable {

    private int mouseId;
    private int x;
    private int y;
    private int wheelRotation;
    private int button;


    public SimpleMouseEvent(int mouseId, int x, int y, int button) {
        this.mouseId = mouseId;
        this.x = x;
        this.y = y;
        this.button = button;
    }


}
